<template>
  <i-frame :src="url" />
</template>
<script>
import iFrame from '@/components/IFrame/index'
export default {
  name: 'Main',
  components: { iFrame },
  data() {
    return {
      url: '',
      iframe: null,
    }
  },
  created() {
    this.getUrl()
  },

  methods: {
    getUrl() {
      this.url = this.$route.meta.pathUrl
    },
  },
}
</script>
